projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7793818
)
profiler: Prefer CLOCK_MONOTONIC
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 May 2019 17:52:12 +0000
(13:52 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 May 2019 17:52:12 +0000
(13:52 -0400)
This is what g_get_monotonic_time gives us,
after all, and we need to have the same clock
in all our profiler data.
gdk/capture/sp-clock.c
patch
|
blob
|
history
diff --git
a/gdk/capture/sp-clock.c
b/gdk/capture/sp-clock.c
index 8811ac44ca4366c0610c2561dd460614d55188ca..b53dafb741706226bf43732ab3a0ebbdf8b3dc83 100644
(file)
--- a/
gdk/capture/sp-clock.c
+++ b/
gdk/capture/sp-clock.c
@@
-24,9
+24,9
@@
void
sp_clock_init (void)
{
static const gint clock_ids[] = {
+ CLOCK_MONOTONIC,
CLOCK_MONOTONIC_RAW,
CLOCK_MONOTONIC_COARSE,
- CLOCK_MONOTONIC,
CLOCK_REALTIME_COARSE,
CLOCK_REALTIME,
};